<template>
<div class="row">
  <my-tabs :tabs="tabs"></my-tabs>
  <router-view></router-view>
</div>
</template>

<script>
import locales from '../locales/log.js'

export default {
  locales,
  data () {
    return {
      tabs: [{
        name: this.$t('tabs.login'),
        url: '/log'
      }, {
        name: this.$t('tabs.operation'),
        url: '/log/operation'
      }, {
        name: this.$t('tabs.alarm'),
        url: '/log/alarm'
      }]
    }
  }
}
</script>

<style>
</style>